<%
  def skin
  switch (params.skin) {
    case 'black': skin = 'black'; break;
    case 'white': skin = 'white'; break;
    default: skin = 'white2'
  }
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang=ru>
<head>
  <script src="${createLinkTo(dir: 'js', file: 'jquery-1.2.6.min.js')}" type="text/javascript"></script>
  <script src="${createLinkTo(dir: 'js', file: 'lor.js')}" type="text/javascript"></script>
  <title><g:layoutTitle default="LOR-Grails"/></title>

  <link rel="stylesheet" href="${createLinkTo(dir: 'css', file: 'common.css')}"/>
  <link rel="stylesheet" href="${createLinkTo(dir: "css/$skin", file: 'hover.css')}"/>
  <link rel="stylesheet" href="${createLinkTo(dir: "css/$skin", file: 'style.css')}"/>
  <link rel="shortcut icon" href="${createLinkTo(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
  <g:layoutHead/>
  <g:javascript library="application"/>
</head>
<body>
<g:render template="/layouts/$skin/header"/>
<img width="1" height="1" alt="" src="http://top.list.ru/counter?id=71642"/>
<g:layoutBody/>
<p>
  <i>
    <a href="${createLinkTo(dir: '')}">${createLinkTo(dir: '')}</a>
  </i>
  <g:render template="/layouts/counters"/>
</body>
</html>